﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="ext-strict">
<head>
    @*<script type="text/javascript" src="@Href("~/Scripts/js/JiffyStubs.js")"></script>
    <script type="text/javascript" src="@Href("~/Scripts/jquery.unobtrusive-ajax.min.js")"></script>*@
    @*<script type="text/javascript" language="javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"></script>*@
    <script type="text/javascript" language="Javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <title>@ViewBag.Title</title>
    <link rel="icon" type="image/png" href="@Href("~/resources/images/icon/favicon.png")" />
    @(Html.Telerik().StyleSheetRegistrar()
                      .DefaultGroup(group => group
                         .Add("telerik.common.css")
                         .Add("telerik.common.min.css")
                         .Add("telerik.vista.css")
                          .Add("telerik.rtl.css")
                          .Combined(true)
                          .Compress(true))
                     )
    <link href="@Href("~/Content/elements.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/common.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/homeCalendar.css")"
        media="handheld,print,projection,screen,tty,tv" rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/dashboard.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/dashboardViewCommon.css")"
        media="handheld,print,projection,screen,tty,tv" rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/ChatterFiles.css")"
        media="handheld,print,projection,screen,tty,tv" rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/chatterCore.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/Recommend.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/OnboardingSplash.css")"
        media="handheld,print,projection,screen,tty,tv" rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/dStandard.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/dCustom0.css")"
        media="handheld,print,projection,screen,tty,tv" rel="stylesheet" type="text/css" />
    <link href="@Href("~/Content/extended.css")" media="handheld,print,projection,screen,tty,tv"
        rel="stylesheet" type="text/css" />
    <script src="@Href("~/Scripts/js/ext-core.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/main.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/Activity.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/Chatter.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/HomeCalendar.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/Scheduling.js")" type="text/javascript"></script>
    <script src="@Href("~/Scripts/js/en_US.js")" type="text/javascript"></script>
    <script type="text/javascript" src="../../../../Scripts/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="../../../../Scripts/ckfinder/ckfinder.js"></script>
    <link rel="shortcut icon" href="https://ap1.salesforce.com/favicon.ico" />
    @RenderSection("HeadContent", required: false)
    @RenderSection("PageHead", required: false)
</head>
<body onload="if (this.bodyOnLoad) bodyOnLoad();" onbeforeunload="if (this.bodyOnBeforeUnload) {var s =bodyOnBeforeUnload(); if (s) return s;}"
    onunload="if (this.bodyOnUnload) bodyOnUnload();" onfocus="if (this.bodyOnFocus) bodyOnFocus();"
    class="hasMotif homeTab homepage ext-webkit ext-chrome sfdcBody">
    <!-- Main Body Starts Here -->
    <div id="contentWrapper">
        <div class="bPageHeader" id="AppBodyHeader">
            <table class="phHeader" border="0" cellpadding="0" cellspacing="0" id="phHeader">
                <tr>
                    <td class="left">
                    </td>
                    <td class="searchCell">
                    </td>
                    <td class="searchCell">
                     
                    </td>
                    <td class="right vtop">
                        <div class="multiforce">
                            <div class="messages">
                                <div class="msgContent topFix">
                                    <span class="daysRemaining" style="height: 27px"></span>
                                </div>
                            </div>
                        
                        <div class="navLinks"><div class="linkElements">
                                    <div class="menuButton menuButtonRounded" id="userNav">
                        <div class="menuButtonButton" id="userNavButton"><span class="menuButtonLabel" id="userNavLabel" tabindex="0" style="">@SaleSoft.Helper.SessionHelper.UserName</span>
                        <div class="userNav-buttonArrow mbrButtonArrow" id="userNav-arrow"></div><div class="userNavButton-tr mbrButton-tr mbrButton-rc"></div><div class="userNavButton-tl mbrButton-tl mbrButton-rc"></div><div class="userNavButton-btm mbrButton-btm mbrButton-rc"></div></div>
                        
                        <div class="menuButtonMenu menuWidthExtended" id="userNavMenu" style="width: 155px; top: 30px; display: none; ">
                        <div class="userNavMenu-tr mbrMenu-tr mbrMenu-rc"></div>
                        <div class="userNavMenu-tl mbrMenu-tl mbrMenu-rc"></div>
                                            <div class="mbrMenuItems" id="userNav-menuItems">
                                                <a href="/security/changepassword" class="menuButtonMenuLink">Đổi mật khẩu</a>
                                            </div>
                                            <div class="mbrMenuItems" id="userNav-menuItems">
                                                <a href="/administrator/Login/logout" class="menuButtonMenuLink">Đăng xuất</a>
                                            </div>
                                            <div class="userNavMenu-br mbrMenu-br mbrMenu-rc">
                                            </div>
                                            <div class="userNavMenu-bc mbrMenu-bc">
                                            </div>
                                            <div class="userNavMenu-bl mbrMenu-bl mbrMenu-rc">
                                            </div>
                                        </div>
                                    </div>
                                    <script type="text/javascript">                                        new MenuButtonRounded('userNav', false, 16);</script>
                                </div>
                            </div>
                        </div> </td>
                </tr>
            </table>
            <table class="tabsNewBar" border="0" cellpadding="0" cellspacing="0" id="tabsNewBar">
                <tr>
                    <td>
                        <div class="tabNavigation" id="tabNavigation">
                            <div class="tabBarLeft">
                            </div>
                            <table class="tab" border="0" cellpadding="0" cellspacing="0" id="tabBar">
                                <tr>
                                    <td class="currentTab primaryPalette" nowrap="nowrap">
                                        <div id="home_Tab">
                                            <a href="#" title="Home Tab - Selected">Trang quản trị</a></div>
                                    </td>
                                </tr>
                            </table>
                            <div class="tabBarRight">
                            </div>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="bodyDiv">
            <div id="bd_l">
            </div>
            <div id="bd_r">
            </div>
            <div class="bgdPalette" id="motifCurve">
                <div class="bgdPalette" id="mc_l">
                </div>
                <div class="bgdPalette" id="mc_r">
                </div>
            </div>
            <div id="bd_b">
                <div id="bd_bl">
                </div>
                <div id="bd_br">
                </div>
            </div>
            <style>
                #bodyTable
                {
                    display: none;
                }
            </style>
            <table class="outer" width="100%" id="bodyTable" border="0" cellspacing="0" cellpadding="0">
                <!-- Start page content table -->
                <tr>
                    <td id="sidebarCell" class=" sidebarCell">
                        <div class="fixed sidebar" id="sidebarDiv">
                            <div class="sidebarModule linksModule">
                                <div class="sidebarModuleHeader">
                                    <h2>
                                        Hệ thống</h2>
                                </div>
                                <div class="sidebarModuleBody">
                                    <ul>
                                        <li>
                                            <div>
                                                <a href="/administrator/NhomQuanTri" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Nhóm quản trị" class="mruIcon" title="Nhóm quản trị">
                                                    <span class="mruText">Nhóm quản trị</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/NhanVienQuanLy" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Nhân viên quản lý" class="mruIcon" title="Nhân viên quản lý">
                                                    <span class="mruText">Nhân viên quản lý</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/LoaiTrangThai" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Loại trạng thái" class="mruIcon" title="Loại trạng thái">
                                                    <span class="mruText">Loại trạng thái</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/TrangThai" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Trạng thái" class="mruIcon" title="Trạng thái">
                                                    <span class="mruText">Trạng thái</span></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div class="sidebarModuleHeader">
                                    <h2>
                                        Web mẫu</h2>
                                </div>
                                <div class="sidebarModuleBody">
                                    <ul>
                                        <li>
                                            <div>
                                                <a href="/administrator/LoaiWebMau" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Loại web mẫu" class="mruIcon" title="Loại web mẫu">
                                                    <span class="mruText">Loại web mẫu</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/WebMau" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Web mẫu" class="mruIcon" title="Web mẫu">
                                                    <span class="mruText">Web mẫu</span></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div class="sidebarModuleHeader">
                                    <h2>
                                        Nội dung web</h2>
                                </div>
                                <div class="sidebarModuleBody">
                                    <ul>
                                        <li>
                                            <div>
                                                <a href="/administrator/LoaiNoiDungWeb" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Loại nội dung" class="mruIcon" title="Loại nội dung">
                                                    <span class="mruText">Loại nội dung</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/NoiDungWeb" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Nội dung" class="mruIcon" title="Nội dung">
                                                    <span class="mruText">Nội dung</span></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div class="sidebarModuleHeader">
                                    <h2>
                                        Banner</h2>
                                </div>
                                <div class="sidebarModuleBody">
                                    <ul>
                                        <li>
                                            <div>
                                                <a href="/administrator/LoaiBanner" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Loại banner" class="mruIcon" title="Loại banner">
                                                    <span class="mruText">Loại banner</span></a>
                                            </div>
                                        </li>
                                        <li>
                                            <div>
                                                <a href="/administrator/Banner" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Banner" class="mruIcon" title="Banner">
                                                    <span class="mruText">Banner</span></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                                <div class="sidebarModuleHeader">
                                    <h2>
                                        Hình ảnh</h2>
                                </div>
                                <div class="sidebarModuleBody">
                                    <ul>
                                        <li>
                                            <div>
                                                <a href="/administrator/Album" class="documentMru" accesskey="2" tabindex="0" title="[Alt+2]">
                                                    <img src="/s.gif" alt="Album ảnh" class="mruIcon" title="Album ảnh">
                                                    <span class="mruText">Album ảnh</span></a>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            
                        </div>
                    </td>
                    <td class="oRight" id="bodyCell">
                        @RenderBody()
                    </td>
                </tr>
            </table>
            <style>
                #bodyTable
                {
                    display: table;
                }
            </style>
        </div>
        <div class="bPageFooter noTableFooter">
            <div>
                Copyright © 2011 ITSKILL LTD., inc. All rights reserved.&nbsp;|&nbsp;<a href="#"
                    target="_blank" title="Privacy Statement (New Window)">Privacy Statement</a>&nbsp;|&nbsp;<a
                        href="#" target="_blank" title="Security Statement (New Window)">Security Statement</a>&nbsp;|&nbsp;<a
                            href="#" target="_blank" title="Terms of Use (New Window)">Terms of Use</a></div>
        </div>
        <div>
            <input type="hidden" id="txtErrorMessage" value="@ViewData["error"]" />
        </div>
    </div>
    <script type="text/javascript">

    </script>
    @{ Html.Telerik().Window()
        .Name("Window")
        .Title("Messages")
        .Draggable(true)
        .Resizable(resizing => resizing
            .Enabled(true)
            .MinWidth(250)
            .MaxHeight(500)
            .MaxWidth(500)
        )
        .Visible(false)
        .Modal(true)
        .Buttons(b => b.Close())
        .Content(@<text>
        <div style="text-align: center; ">
            @ViewData["error"]
        </div>
        </text>)
        .Width(400)
        .Height(200)
        .Render();
    }
    @(Html.Telerik().ScriptRegistrar().Globalization(true)
                    .DefaultGroup(group => group
                        .Add("telerik.common.js")
                        .Add("telerik.grid.js")
                        .Add("jquery.validate.js")
                        .Add("telerik.grid.editing.js")
                              ).OnDocumentReady(@<text> ShowResponseMessage();
    </text>)
                        )
    <script type="text/javascript" language="javascript">
        function ShowResponseMessage() {
            var window = $("#Window").data("tWindow");
            var errorMessage = document.getElementById('txtErrorMessage').value;
            if (errorMessage != "") {
                window.center();
                window.open();
            } else {
                window.close();
            }
        }
    </script>
</body>
</html>
